/* ------------------ */
/* 🔁 Reset           */
/* ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  font-family: Helvetica, serif;
}

/* ------------------ */
/* 🖼️  Sections       */
/* ------------------ */
.section {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 40px 0 40px;
  color: white;
  text-align: center;
}

/* Hintergrundbilder */
.bg1 {
  background-image: url('bilderauswahl/strand.jpg');
}

/* ------------------ */
/* 📸 Bildreihe       */
/* ------------------ */

.section.bildstreifen {
  height: 100vh;               /* volle Höhe wie das erste Bild */
  width: 100vw;                /* volle Breite */
  padding: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: none;
}

.bildreihe {
  display: flex;
  flex-wrap: wrap;              /* Umbruch, wenn der Bildschirm zu schmal wird */
  justify-content: space-between; /* Zwischenräume zwischen den Bildern */
  width: 100%;                  /* Volle Breite des Containers */
  height: 100%;                 /* Höhe des Containers füllen */
}

.bildreihe img {
  flex: 1;
  height: 100%;
  object-fit: cover;            /* Bild anpassen ohne Verzerrung */
  margin: 0;                    /* Abstand entfernen */
}


@media (max-width: 600px) {
  .section.bildstreifen {
    height: auto;       /* Höhe passt sich der Bildreihe an */
    padding: 20px;      /* optional: kleineres Padding für Handys */
  }

  .bildreihe {
    height: auto;       /* Containerhöhe automatisch */
    flex-wrap: wrap;    /* Umbruch wie bisher */
  }

  .bildreihe img {
    width: 100%;        /* ein Bild pro Zeile */
    height: auto;       /* Höhe proportional zur Breite */
    object-fit: cover;  /* skaliert ohne Verzerrung */
    margin: 0;          /* keine Lücke */
  }
}


/* ------------------ */
/* 📝 Überschrift     */
/* ------------------ */
.section h1 {
  font-size: 4rem;
  font-weight: 500;
  color: rgba(138, 111, 61);
  font-family: "Playfair Display", serif; /* elegante Überschrift */
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* bessere Lesbarkeit über Foto */
}


/* ------------------ */
/* ☰ Menü-Button      */
/* ------------------ */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 1001;
  cursor: pointer;
}


/* ------------------ */
/* 📋 Overlay-Menü    */
/* ------------------ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 15%;
  height: 100%;
  background: rgba(216, 199, 159, 0.8);; /* fast gleiche Farbe wie Hauptseite */
  color: #000; /* schwarze Schrift */
  display: none;
  z-index: 1000;
  flex-direction: column;
  justify-content: flex-start;
  padding: 3rem 1rem;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  overflow-y: auto;
}

.menu-overlay.open {
  display: flex;
}

.menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 4rem;
}

.menu-content a {
  font-size: 1.1rem; /* leicht größer für bessere Lesbarkeit */
  font-weight: 600; /* seriös, nicht zu fett */
  text-decoration: none; /* keine Unterstreichung */
  color: #fdfdfd; /* dunkles Grau, angenehmer als Weiß */
  font-family: "Lato", sans-serif; /* moderne, klare Schrift */
  display: block; /* sorgt für klickbare Fläche */
  padding: 0.5rem 1rem; /* Abstand für bessere Klickbarkeit */
  border-radius: 0.5rem; /* weiche Ecken */
  transition: all 0.3s ease; /* sanfte Animation */
}

.menu-content a:hover {
  background-color: #d8c79f; /* warmes Sand-Beige beim Hover */
  color: #8a6f3d; /* Gold-Braun für Kontrast */
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 600px) {
  .section.bildstreifen {
    height: auto;       /* Höhe passt sich der Bildreihe an */
    padding: 20px;      /* optional: kleineres Padding für Handys */
  }

  .bildreihe {
    height: auto;       /* Containerhöhe automatisch */
    flex-wrap: wrap;    /* Umbruch wie bisher */
  }

  .bildreihe img {
    width: 100%;        /* ein Bild pro Zeile */
    height: auto;       /* Höhe proportional zur Breite */
    object-fit: cover;  /* skaliert ohne Verzerrung */
    margin: 0;          /* keine Lücke */
  }
}

/* ------------------ */
/* 📱 Hinweis für Mobilgeräte */
/* ------------------ */

#mobile-hinweis {
  display: none; /* Standardmäßig auf Desktops versteckt */
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  z-index: 2000; /* Stellt sicher, dass es über allem liegt */
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  align-items: center;
  gap: 20px; /* Abstand zwischen Text und Schließen-Button */
}

#hinweis-schliessen {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Media Query, um den Hinweis nur auf Handys anzuzeigen */
@media (max-width: 768px) {
  #mobile-hinweis {
    display: flex; /* Auf Bildschirmen unter 768px Breite sichtbar machen */
  }
}
